import axios from 'axios';

export async function requestGet() {
  let res = await axios.get('/get');
  // ...
  console.log('--requestGet--');
  return res.data;
}

export async function requestPost() {
  let res = await axios.post('/post');
  // ...
  console.log('--requestPost--');
  return res.data;
}